#pragma once


// CColorCombo

class CColorCombo : public CComboBox
{
	DECLARE_DYNAMIC(CColorCombo)

public:
	CColorCombo();
	virtual ~CColorCombo();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnCbnSelchange();
	virtual void DeleteItem(LPDELETEITEMSTRUCT lpDeleteItemStruct);
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
	// Implementation
public:
	int AddItem(COLORREF rgbColor, TCHAR* pszName);
};


